package com.gxar.quick.ar.server.base.common.enums;

/**
 * @author nice
 * @version 1.0
 * @created 2023/11/13.
 */
public enum WechatTradeStateEnum {

    SUCCESS("SUCCESS", "支付成功"),
    REFUND("REFUND", "转入退款"),
    NOT_PAY("NOTPAY", "未支付"),
    CLOSED("CLOSED", "已关闭"),
    REVOKED("REVOKED", "已撤销（付款码支付）"),
    USER_PAYING("USERPAYING", "用户支付中（付款码支付）"),
    PAY_ERROR("PAYERROR", "支付失败(其他原因，如银行返回失败)");
    private final String code;
    private final String desc;

    WechatTradeStateEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
